<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
	<head>
	    <base href="<%=basePath%>">
		<title>分店密码管理</title>
        <%@include file="../collect/meta.jsp"%>
		<link rel="stylesheet" href="css/radius.css" type="text/css"></link>
		<link rel="stylesheet" href="css/table.css" type="text/css"></link>
		<script type="text/javascript" src="${ctx}/js/returnTop.js"></script>
  	</head>
  <body lang="zh-cn">
	<div class="wrapper">	
       <c:import url="/collect/top.jsp"></c:import>
		<div class="main-container" id="main-container">
			<div class="main-container-inner">
				<c:import url="/collect/left.jsp"></c:import>
				<div class="main-content">
					<div class="breadcrumbs" id="breadcrumbs">
						<ul class="breadcrumb">
							<li><i class="icon-home home-icon">
							</i>分店管理</li>
							<li><a href="muser!getAllUser1">分店密码管理</a></li>
						</ul><!-- .breadcrumb -->
					</div>
					<div class="page-content">
						<div class="row">
							<div class="col-xs-12">
								<table id="table_bug_report" class="table table-striped table-bordered table-hover">
		                              <tr>
		                                <th>登陆账号</th>
		                                <th>所属店铺</th>
		                                <th>创&nbsp;建&nbsp;时&nbsp;间</th>
		                                <th>操作</th>
		                              </tr>
		                              <c:forEach items="${users}" var="user" varStatus="status">
		                              <tr>
		                                <td>${user.mobile }</td>
		                                <td>
			                                	<c:choose>
				                                	<c:when test="${user.shop.delFlag == 1 }">${user.shop.name }</c:when>
				                                	<c:otherwise>${user.shop.name }<font color="red">(已删除)</font></c:otherwise>
				                                </c:choose>
		                                </td>
		                                <td>${fn:substring(user.createTime, 0, fn:indexOf(user.createTime, "."))}</td>
		                                <td><a class="btn btn-xs btn-primary radius" href="${ctx}/muser!selectUser?user.id=${user.id}">修改密码</a>
		                              </tr>
		                              </c:forEach>
		                            </table>
							</div><!-- /.col -->
						</div><!-- /.row -->
					</div><!-- /.page-content -->
				</div><!-- /.main-content -->
			</div><!-- /.main-container-inner -->
			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse" style="position:fixed;bottom:0;">
				<i class="icon-double-angle-up icon-only bigger-110"></i>
			</a>
		</div><!-- /.main-container -->
		<div class="push"></div>
     </div>
    <c:import url="/collect/down.jsp"></c:import>
     
	<script type="text/javascript">
		$(document).ready(function(){
			$("#but").click(function(){
				editwx.submit();	
			});
		});
		//防dropmenu刷新收回（企业分店管理：$分店密码管理）
		$(document).ready(function(){
				$('.fendianguanli > ul').show();
				$('.fendianguanli > ul > li > a').eq(2).css("color","red");
			});
	</script>
  </body>
</html>